PrintCompositor.setHeaderFontName

Sets the font for printing the page header.

If %NULL is supplied, the default font (i.e. the one being used for the text) will be used instead.

@font_name should be a string representation of a font description Pango can understand. (e.g. "Monospace 10"). See [func@Pango.FontDescription.from_string] for a description of the format of the string representation.

This function cannot be called anymore after the first call to the [method@PrintCompositor.paginate] function.

class PrintCompositor
void
setHeaderFontName
(
string fontName
)

Parameters

fontName string

the name of the font for header text, or %NULL.

Meta